﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.OracleClient;

namespace BLL.Common
{
    /// <summary>
    /// 用于对数据库的公共操作接口
    /// qfkong 2010.10.26 17:50
    /// </summary>
    public class Common
    {

        private readonly OracleDAL.Common.Common dal = new OracleDAL.Common.Common();
        /// <summary>
        /// Common构造函数
        /// </summary>
        public Common()
        { }
        /// <summary>
        /// 调用分页存储过程
        /// </summary>
        /// <param name="TABLENAME">查询表名</param>
        /// <param name="FEILDS">查询字段</param>
        /// <param name="STRWHERE">查询条件</param>
        /// <param name="SORT">排序字段</param>
        /// <param name="PAGESIZE">页数</param>
        /// <param name="CURRENTPAGE">当前页码</param>
        /// <param name="ISTRANSLATION">是否翻译</param>
        /// <returns>返回当前的结果集</returns>
      /*  public DataSet GetDataByPageSize(string TABLENAME, string FEILDS, string STRWHERE, string SORT, Int32 PAGESIZE, Int32 CURRENTPAGE, string ISTRANSLATION)
        {
            return dal.GetDataByPageSize(TABLENAME, FEILDS, STRWHERE, SORT, PAGESIZE, CURRENTPAGE, ISTRANSLATION);
        }*/
    }
}
